import json
from collections import OrderedDict

def loads_order():
	'''读取json字符串，有序'''
	json.loads(js,object_pairs_hook=OrderedDict)

def dumps_indent():
	'''转化字典到json字符串，并且有4个空格分隔'''
	json.dumps(result,indent=4)
